<%-- 
    Document   : viewFeedback
    Created on : Mar 16, 2011, 4:17:28 PM
    Author     : ChuckToh
--%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<h3>Send Feedback</h3>
<c:choose>
    <c:when test="${!empty afterFeedbackMessage}">
        <c:out value="${afterFeedbackMessage}" escapeXml="false"></c:out>
        <c:remove var="afterFeedbackMessage" scope="session"></c:remove>
        <font size="-1"><br/><br/>Please refresh the page to do feedback.</font>
    </c:when>
    <c:otherwise>
        <form action="../processFeedback" method="post">
            <table>
                <tr>
                    <td valign="top">Comments:</td>
                    <td><textarea name="feedback" cols="50" rows="10"></textarea></td>
                </tr>

                <tr>
                    <td colspan="2" align="right">
                        <input type="submit" value="Submit">&nbsp;&nbsp;
                        <input type="reset" value="Clear">
                    </td>
                </tr>
            </table>
        </form>
    </c:otherwise>
</c:choose>